<!-- 首页的特效制作 -->
<link rel="stylesheet" href="../Public/js/plugin/swiper/idangerous.swiper.css">
<script src="../Public/js/plugin/swiper/idangerous.swiper.min.js"></script>
<script>
$(function(){
	mySwiper = new Swiper('.swiper-container',{
		pagination: '.pagination',
		loop:true,
		grabCursor: true,
		paginationClickable: true
	});
	
	//滚动图片
	t = setTimeout("qiehuan()",10000);//1->2
});
function qiehuan() {
	weizhi = parseInt($(".swiper-slide-active").index())-1;
	mySwiper.swipeNext();
	
	if(weizhi==3) {
		t = setTimeout("qiehuan()",10000);//1->2
	}else{
		t = setTimeout("qiehuan()",10000);//other
	}
}
</script>
<div class="device">
    <div class="swiper-container">
        <div class="swiper-wrapper">
			<div class="swiper-slide"><a href="#"><img class="img-responsive" src="../Public/img/home/header.png" /></a></div>
            <div class="swiper-slide"><a href="#"><img class="img-responsive" src="../Public/img/home/header.png" /></a></div>
            <div class="swiper-slide"><a href="#"><img class="img-responsive" src="../Public/img/home/header.png" /></a></div>
        </div>
    </div>
    <div class="pagination"></div>
</div>

